Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 2 - Core Printing Features / Core Printing Features Reference
Functions


Printing With QuickDraw GX

To support printing from the Finder, your application needs to call the GXSelectJobOutputPrinter function to specify an output printer.

When the user requests printing, you should call the GXGetJobPageRange function to obtain the user-specified page range.

You call the GXStartJob function to begin printing a document. If your application stores each page as a single picture shape, you should use the GXPrintPage function to print each page in a document.

You may also choose to use the GXStartPage, GXDrawShape, and GXFinishPage functions to draw and print data. You should use these functions if your application does not store each page as a single picture shape.

After you have finished calling the GXPrintPage or the GXFinishPage function (depending on the approach you choose), you call the GXFinishJob function to tell QuickDraw GX that the document is ready to be spooled for printing in the background.

The GXDrawShape function is described in the shape objects chapter of Inside Macintosh: GX Objects.


Subtopics
GXSelectJobOutputPrinter
GXGetJobPageRange
GXStartJob
GXPrintPage
GXFinishJob
GXStartPage
GXFinishPage

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help